package com.knife.blog.logic;

import java.util.Collection;
import java.util.List;

import com.knife.blog.domain.BlogMessage;
import com.knife.web.tools.IPageList;

public interface BlogMessageService {
	boolean add(BlogMessage message);

	BlogMessage getBlogMessage(String cid);

	boolean delBlogMessage(String cid);

	int batchDelBlogMessage(String[] cids);

        int countUnCheckMessage(String cid);

	boolean updateBlogMessage(BlogMessage message);

	IPageList queryBlogMessage(String username, int currentPage,
			int pageSize);
	IPageList queryBlogUnMessage(String username, int currentPage,
			int pageSize);
	
	IPageList queryCircleMessage(String belongCid, int currentPage, int pageSize);
	
	IPageList queryBlogMessage(String scope, Collection paras,
			int currentPage, int pageSize);
	
	IPageList queryAuditedMessage(String username,
			int currentPage, int pageSize);

	List getTopMessage(String username, int topNum);
}
